/*
 * Copyright (c) 2018-2999 九五云信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.user.comment.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.common.util.PageParam;
import com.yami.shop.user.comment.model.UserScoreLog;

/**
 * 用户积分记录
 *
 * @author LGH
 * @date 2020-02-26 16:03:14
 */
public interface UserScoreLogService extends IService<UserScoreLog> {

    Integer getConsecutiveDays(String userId);

    Page<UserScoreLog> getPage(PageParam<UserScoreLog> page, UserScoreLog userScoreLog);

    IPage<UserScoreLog> getPageByUserId(PageParam<UserScoreLog> page, String userId);
}
